package fr.excilys.gwt.events.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

import fr.excilys.gwt.events.client.component.PhoneNumberEditor;
import fr.excilys.gwt.events.client.component.PhoneNumberList;

public class Event implements EntryPoint {

	public void onModuleLoad() {
		final Label title = new Label("Numéros de téléphone : ");
		RootPanel.get().add(title);

		final PhoneNumberList phoneNumberList = new PhoneNumberList();
		RootPanel.get().add(phoneNumberList);

		PhoneNumberEditor phoneNumberEditor = new PhoneNumberEditor();
		RootPanel.get().add(phoneNumberEditor);

	}
}
